package com.jsm.tf.net.message.request;

import com.jsm.tf.net.message.Message;
import com.jsm.tf.net.message.response.LoginResponseMessage;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class LoginMessage extends Message<LoginResponseMessage> {
    private String username;
    private String password;


    @Override
    public byte getCommandType() {
        return Message.LOGIN_COMMAND_TYPE;
    }
}
